package com.rollawizards.arena
{
    public class Player
    {
        private var m_Up:Boolean;
        private var m_Down:Boolean;
        private var m_Left:Boolean;
        private var m_Right:Boolean;
        private var m_MouseX:int;
        private var m_MouseY:int;
        
        private var x:int;
        private var y:int;

        public function Player() 
        {
            x = 0;
            y = 0;
        }

        public function set up(up:Boolean):void
        {
            m_Up = up;
        }
        public function set down(down:Boolean):void
        {
            m_Down = down;
        }
        public function set left(left:Boolean):void
        {
            m_Left = left;
        }
        public function set right(right:Boolean):void
        {
            m_Right = right;
        }
        public function set mouseX(mouseX:int):void
        {
            m_MouseX = mouseX;
        }
        public function set mouseY(mouseY:int):void
        {
            m_MouseY = m_MouseY;
        }

        public function step():void
        {
            if (m_Down)
            {
                y += 10;
            }
        }
       
    }
}